<!DOCTYPE html>
<html>
<head>
  <title>表单</title>
  {include file="public/head" /}
</head>
<body>
<div class="wrapper" >

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper" style="background: #fff">
 

    <!-- Main content -->
    <section class="content container-fluid" >

      <div class="row" >
        <div class="col-xs-12">
             <!-- form start -->
            <form id="attrForm" action="{:url('Attribute/saveAttr')}" class="form-horizontal">
              <input type="hidden" name="attr_id" value="{$attr.attr_id}">
              <div class="box-body">
                <div class="form-group">
                  <label for="inputEmail3" class="col-sm-2 control-label">属性主题</label>

                  <div class="col-sm-10">
                    <input type="text" class="form-control" name="attr_theme" value="{$attr.attr_theme}">
                  </div>
                </div>
                <div class="form-group">
                  <label for="inputPassword3" class="col-sm-2 control-label">属性标签</label>

                  <div class="col-sm-10">
                    <input type="text" class="form-control" name="attr_label" value="{$attr.attr_label}">
                  </div>
                </div>
                <div class="form-group">
                  <label for="inputPassword3" class="col-sm-2 control-label">属性名称</label>

                  <div class="col-sm-10">
                    <input type="text" class="form-control" name="attr_name" value="{$attr.attr_name}">
                  </div>
                </div>
                <div class="form-group">
                  <label for="inputPassword3" class="col-sm-2 control-label">属性值</label>

                  <div class="col-sm-10">
                    <input type="text" class="form-control" name="attr_value" value="{$attr.attr_value}">
                  </div>
                </div>
                <div class="form-group">
                  <label for="inputPassword3" class="col-sm-2 control-label">属性排序</label>

                  <div class="col-sm-10">
                    <input type="text" class="form-control" name="attr_sort" value="{$attr.attr_sort}">
                  </div>
                </div>
              </div>
            </form>
        </div>
      </div>
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
</div>
<!-- ./wrapper -->
{include file="public/js" /}
<script type="text/javascript">
  function confirm() {
        return $("#attrForm").serialize();
    }
</script>
</script>
</body>
</html>